package com.jlcindia;
class Outer2{
	String insval="Insval";
	static String stval="static val";
	private abstract class inner1{}
	static final class Innerclass2{}
	static void disp(){   //member of outer class
		System.out.println("i'm in disp()");
		System.out.println(stval);
		//System.out.println(insval);
		//Inner class ref=null;
		class Innerclass3{    //local inner class
			int i=10;
			void display(){
				System.out.println(i);
			}
		}
		Innerclass3 ref=new Innerclass3();
		ref.display();
		class Innerclass4{}
	}
			void show(){   //member of outer class
				System.out.println("i'm in show()");
				System.out.println(stval);
				System.out.println(insval);
				int f=12;
				final int k=12;
				class Innerclass3{     // local inner class
					int i=90;
					Innerclass3(int i){
						this.i=i;
						}
				void show(){
					System.out.println("i'm in show of inner3");
					System.out.println(insval);
					System.out.println(stval);
					//System.out.println(f);
					System.out.println(k);
					System.out.println(i);
					}
			    }
		Innerclass3 ref=new Innerclass3(15);
		ref.show();
			}
	void outer2(){
		class Innercl5{}
		class Innercl6{}
	}
	static{
		class Innercl8{}
	}
	}


public class Test16 {

	
	public static void main(String[] args) {
	//System.out.println(i);
		//int i;
		Outer2.disp();
		//Outer2.show();
	    Outer2 out=new Outer2();
	    out.show();
	    }
 }
